package com.ht.shortlink.admin.common.constant;

/**
 *  短链接后管 Redis 缓存常量
 */
public class RedisCacheConstant {
    /**
     *  用户注册分布式锁
     */
    public static final String LOCK_USER_REGISTER_KEY = "short-link:lock:user-register:";

    /**
     *  用户添加分组分布式锁
     */
    public static final String LOCK_GROUP_CREATE_KEY = "short-link:lock:group-create:%s";

    /**
     *  用户登录 key
     */
    public static final String USER_LOGIN_KEY = "short-link:login:";
}
